package com.atguigu.gmall.feign.product;

import com.atguigu.gmall.model.vo.IndexCategoryVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author dyqstart
 * @create 2021-08-11-22:06
 * @since 1.0.0
 */
@FeignClient("service-product")
public interface CategoryFeignClient {

    @GetMapping("/admin/product/getAllCategorys")
    public List<IndexCategoryVo> getAllCategorysForIndexHtml();
}
